﻿using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

using BootstrapBlazor.Components;
using Volo.Abp.DependencyInjection;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace CodeMan.Application.Contracts.ClassGens
{
    public interface IClassGenAppService :
            IApplicationService, ISingletonDependency,
            IEntityFrameworkCoreDataService,
            IDataService<ClassGenDTOCreateUpdate>

    {
        Task<IReadOnlyList<TreeItem>> GetTreeItemsAsync(Int64 tkey);
        Task SaveClassAndAtt(ClassGenDTOCreateUpdate classGen, List<ClassAttributeDTO> classAttributes);

    }
}
